import com.teacher.tjdbc;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.annotation.*;
import java.io.IOException;

@WebServlet(name = "TeacherServlet", value = "/TeacherServlet")
public class TeacherServlet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        tjdbc tjdbc=new tjdbc();
        try {
            tjdbc.teacher();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
    }
}
